How to know what resource type to use